home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2006 July & August
/
PCWorld_2006-07-08_cd.bin
/
v cisle
/
acehtml
/
acehtmlfreeware.exe
/
scriptdef
/
Select Images from List.sd
< prev
next >
Wrap
INI File
|
2004-06-28
|
1KB
|
76 lines
[SUBJECT]
Description=Allows associating an image with an item in a list box
ImageIndex=-1
Folder=Graphical Effects
[HEAD_TEXT]
;<script language="JavaScript">
;<!-- begin script
;function VersionNavigateur(Netscape, Explorer) {
; if ((navigator.appVersion.substring(0,3) >= Netscape && navigator.appName == 'Netscape') ||
; (navigator.appVersion.substring(0,3) >= Explorer && navigator.appName.substring(0,9) == 'Microsoft'))
; return true;
;else return false;
;}
;// end script -->
;</script>
;
[BODY_TEXT]
;<form>
;<img alt="" name="imgDepart1" src="" border="0" width="`image_width`" height="`image_height`">
;<select name="listeImg1" size="`list_size`" onChange ="if (VersionNavigateur(3.0,4.0)) imgDepart1.src=form.listeImg1.options[form.listeImg1.selectedIndex].value;">
; <option value="`url0`">`caption0`
;
#Macro place
;</select>
;</form>
;
[MACRO_ITEM]
; <option value="`url`">`caption`
[`url`]
Kind=U
Value=url
[`url0`]
Kind=U
Value=url0
[`caption`]
Kind=S
Value=caption
[`caption0`]
Kind=S
Value=caption0
[`image_width`]
Kind=N
Value=9
[`image_height`]
Kind=N
Value=9
[`list_size`]
Kind=N
Value=3